import request from '@/utils/request'

export function exportSelectedEmp(ids) {
  return request({
    url: '/emps/export',
    method: 'post',
    data: ids, // JSON 数组
    responseType: 'blob' // 告诉 axios 返回二进制
  })
}

export function exportSelectedStudent(ids) {
  return request({
    url: '/student/export',
    method: 'post',
    data: ids, // JSON 数组
    responseType: 'blob' // 告诉 axios 返回二进制
  })
}
